﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Controls/HomePage.master" AutoEventWireup="true" CodeFile="News.List.aspx.cs" Inherits="Pages_News_List" %>

<%@ OutputCache Duration="180" Location="Any" VaryByParam="*" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="cottrai">
        <div class="menu_c2">
            <asp:Repeater runat="server" ID="rptSubCate">
                <HeaderTemplate>
                    <ul>
                </HeaderTemplate>
                <ItemTemplate>
                    <li><a href="<%# AppUtils.CateReWriteUrl(int.Parse(Eval("CateID").ToString()),Eval("Name").ToString()) %>" <%# int.Parse(Eval("CateID").ToString()) == cateID ? " class='active'" : "" %>><%# Eval("Name") %></a></li>
                    <li>|</li>
                </ItemTemplate>
                <FooterTemplate></ul></FooterTemplate>
            </asp:Repeater>
            <div class="clear"></div>
        </div>

        <div class="diem1_c">
            <asp:Repeater runat="server" ID="rptList2">
                <ItemTemplate>
                    <div class="dong7">
                        <a href="<%#Eval("Url")%>">
                            <img src="<%#Eval("ImageUrl")%>" /></a>
                        <a href="<%#Eval("Url")%>"><%#Eval("Title")%></a>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
        </div>
        <!--end diem1-->

        <asp:Repeater runat="server" ID="rptList1">
            <ItemTemplate>
                <div class="diem2_c">
                    <a href="<%#Eval("Url")%>">
                        <img src="<%#Eval("ImageUrl")%>" width="400" height="300" /></a>
                    <a href="<%#Eval("Url")%>"><%#Eval("Title")%></a>
                    <p><%#Eval("SubLead")%></p>
                </div>
            </ItemTemplate>
        </asp:Repeater>
        <!--end diem2-->
        <div class="clear"></div>

        <div class="diem3_c">
            <asp:Repeater runat="server" ID="rptList3">
                <ItemTemplate>
                    <div class="dong8">
                        <a href="<%#Eval("Url")%>">
                            <img src="<%#Eval("ImageUrl")%>" /></a><a href="<%#Eval("Url")%>"><%#Eval("Title")%></a>
                        <p><%#Eval("SubLead")%></p>
                        <div class="clear"></div>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
        </div>
        <!--end diem3_c-->

        <div class="diem1_c">
            <div class="ke_mau">
                <p style="width: 40%"></p>
            </div>
            <div class="box_tuvan">

                <div class="title tit2">TIÊU ĐIỂM</div>
                <asp:Repeater runat="server" ID="rptFocus">
                    <ItemTemplate>
                        <div class="dong9">
                            <a href="<%#Eval("Url")%>">
                                <img src="<%#Eval("ImageUrl")%>" /></a><a href="<%#Eval("Url")%>"><%#Eval("Title")%></a>
                            <div class="clear"></div>
                        </div>
                    </ItemTemplate>
                </asp:Repeater>
            </div>
            <!--end box_tuvan-->

            <%--<div class="ke_mau">
                <p style="width: 40%"></p>
            </div>
            <div class="box_ttt">
                <div class="title tit2">TIN TÀI CHÍNH</div>
                <ul class="list1_c2">
                    <li><a href="#">Chủ tịch Mai Linh kêu gọi nhân viên... “tiếp máu”</a></li>
                    <li><a href="#">Giá xăng tăng mức kỷ lục: Quyết định gây tranh cãi</a></li>
                    <li><a href="#">Vắng như ngân hàng... mùa giảm lãi suất</a></li>
                </ul>

            </div>--%>
            <!--end box_tuvan-->
        </div>
        <!--end diem1_c-->
        <div class="clear"></div>

        <%--<div class="phantrang">
            <ul>
                <li><a href="#">...</a></li>
                <li><a href="#">3</a></li>
                <li><a href="#">2</a></li>
                <li><a href="#">1</a></li>
            </ul>
            <div class="clear"></div>
        </div>--%>
        <!--end phantrang-->

        <div class="clear"></div>

        <%--<div class="list_tincu">
            <div class="ke_mau">
                <p style="width: 20%"></p>
            </div>
            <div class="title tit2">TIN MỚI ĐĂNG</div>
            <ul class="list1" style="padding: 0 0 0 15px;">
                <li><a href="#">Chủ tịch Mai Linh kêu gọi nhân viên... “tiếp máu”</a></li>
                <li><a href="#">Giá xăng tăng mức kỷ lục: Quyết định gây tranh cãi</a></li>
                <li><a href="#">Vắng như ngân hàng... mùa giảm lãi suất</a></li>
                <li><a href="#">Trách nhiêm vật chất ngoài hợp đồng</a></li>
                <li><a href="#">Quy định về vốn điều lệ của công ty TNHH</a></li>
            </ul>
        </div>--%>
        <!--end list_tincu-->
        <div class="list_tincu">
            <div class="ke_mau">
                <p style="width: 20%"></p>
            </div>
            <div class="title tit2">BÀI ĐÃ ĐĂNG</div>
            <asp:Repeater runat="server" ID="rptOtherNews">
                <HeaderTemplate>
                    <ul class="list1" style="padding: 0 0 0 15px;">
                </HeaderTemplate>
                <ItemTemplate>
                    <li><a href="<%#Eval("Url")%>"><%#Eval("Title")%></a></li>
                </ItemTemplate>
                <FooterTemplate></ul></FooterTemplate>
            </asp:Repeater>
        </div>
        <!--end list_tincu-->
        <div style="float: right; padding: 6px;"><a href="#" id="hlnext" runat="server">Xem tiếp >></a></div>
        <div class="clear"></div>
        <div class="menu_phu" style="position: relative;">
            <ul>
                <li><a href="javascript:;">Bài hôm trước</a></li>
                <li><a href="javascript:;" id="linkDay">Xem bài theo tháng</a>

                </li>
                <li><a href="javascript:;">Bài hôm sau</a></li>
            </ul>
            <div style="visibility: hidden; height: 1px; width: 1px; position: absolute; padding-left: 85px;">
                <input class="box_chọn" type="text" id="datepicker" />
            </div>
            <div class="clear"></div>
        </div>
        <!--end menu_phu-->

        <%--<div class="doitac">
            <div class="title tit11">TÀI TRỢ - ĐỐI TÁC</div>
            <div class="box_doitac">
                <ul class="doitac_lg">
                    <li>
                        <img src="/resources/images/nh1.jpg" /></li>
                    <li>
                        <img src="/resources/images/nh2.jpg" /></li>
                    <li>
                        <img src="/resources/images/nh3.jpg" /></li>
                </ul>
                <div class="clear"></div>
                <ul class="doitac_tl">
                    <li><a href="#">
                        <img src="/resources/images/tl.jpg" border="0" /></a></li>
                    <li><a href="#">
                        <img src="/resources/images/t.jpg" border="0" /></a></li>
                </ul>
                <div class="clear"></div>
            </div>

        </div>--%>
        <!--end doitac-->
    </div>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#linkDay").click(function () {
                $('#datepicker').datepicker({
                    changeMonth: true,
                    changeYear: true,
                    dateFormat: 'mm/dd/yy',
                    firstDay: 1,
                    onSelect: function (dateText, inst) {
                        console.log(dateText);
                    }
                }).focus(); //make the datepicker appear!
            });
        });

    </script>
</asp:Content>

